// 圆形图片按钮
#ifndef UCIRCLEITEMCHECKBUTTON_H
#define UCIRCLEITEMCHECKBUTTON_H

#include "utkwidget_export.h"

#include <QPushButton>

class UTKWIDGET_EXPORT UCircleItemCheckButton : public QPushButton
{
    Q_OBJECT
public:
    explicit UCircleItemCheckButton(QWidget* parent = Q_NULLPTR);

    QPixmap pixmapToRound(const QPixmap &pixmap);

protected:
    void paintEvent(QPaintEvent* event) Q_DECL_OVERRIDE;
};

#endif // UCIRCLEITEMCHECKBUTTON_H
